﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pipes.Queries.Model.Query
{
  public class Join : SimpleDeclaration
  {
    public bool Natural { get; set; }
    public JoinType Type { get; set; }
    public IExpression Criteria { get; set; }

    public Join()
    {
      this.Type = JoinType.Inner;
    }

    public override void Visit(Parser.IQueryVisitor visitor)
    {
      visitor.Visit(this);
    }
  }
}
